package entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Service_Transfer {
    private Integer id;
    private Integer service_id;
    private Integer old_manager_id;
    private Integer new_manager_id;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;
    private String reason;
    private String oldManagerAccount;
    private String newManagerAccount;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getService_id() {
        return service_id;
    }

    public void setService_id(Integer service_id) {
        this.service_id = service_id;
    }

    public Integer getOld_manager_id() {
        return old_manager_id;
    }

    public void setOld_manager_id(Integer old_manager_id) {
        this.old_manager_id = old_manager_id;
    }

    public Integer getNew_manager_id() {
        return new_manager_id;
    }

    public void setNew_manager_id(Integer new_manager_id) {
        this.new_manager_id = new_manager_id;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getOldManagerAccount() {
        return oldManagerAccount;
    }

    public void setOldManagerAccount(String oldManagerAccount) {
        this.oldManagerAccount = oldManagerAccount;
    }

    public String getNewManagerAccount() {
        return newManagerAccount;
    }

    public void setNewManagerAccount(String newManagerAccount) {
        this.newManagerAccount = newManagerAccount;
    }
}
